package com.lv.LvRefundRecord.bean;

import com.aqgj.util.BaseEntity;
import org.hibernate.annotations.GenericGenerator;

import javax.persistence.*;

@Entity
@Table(name = "lv_refund_record")
public class LvRefundRecord implements BaseEntity{

    private String id;//

    private String fkLvOrderId;//订单id

    private java.math.BigDecimal money;//退款金额

    private String type;//类型 1-全款退 2-比例退 3-退违约金

    private String wxRefundNumber;//微信退款订单号

    private String aliRefundNumber;//支付宝退款订单号

    private String fkManagerId;//操作人id

    private java.util.Date addTime;//添加时间

    public void setId(String value){
        this.id = value;
    }
    public void setFkLvOrderId(String value){
        this.fkLvOrderId = value;
    }
    public void setMoney(java.math.BigDecimal value){
        this.money = value;
    }
    public void setType(String value){
        this.type = value;
    }
    public void setWxRefundNumber(String value){
        this.wxRefundNumber = value;
    }
    public void setAliRefundNumber(String value){
        this.aliRefundNumber = value;
    }
    public void setFkManagerId(String value){
        this.fkManagerId = value;
    }
    public void setAddTime(java.util.Date value){
        this.addTime = value;
    }
    @Id
    @GeneratedValue(generator = "system-uuid")
    @GenericGenerator(name = "system-uuid", strategy = "uuid")
    @Column(name ="id",unique=true,nullable=false,insertable=true,updatable=true,length=32)
    public String getId(){
        return this.id;
    }
    @Column(name ="fk_lv_order_id",unique=false,nullable=true,insertable=true,updatable=true,length=32)
    public String getFkLvOrderId(){
        return this.fkLvOrderId;
    }
    @Column(name ="money",unique=false,nullable=true,insertable=true,updatable=true,length=10)
    public java.math.BigDecimal getMoney(){
        return this.money;
    }
    @Column(name ="type",unique=false,nullable=true,insertable=true,updatable=true,length=4)
    public String getType(){
        return this.type;
    }
    @Column(name ="wx_refund_number",unique=false,nullable=true,insertable=true,updatable=true,length=64)
    public String getWxRefundNumber(){
        return this.wxRefundNumber;
    }
    @Column(name ="ali_refund_number",unique=false,nullable=true,insertable=true,updatable=true,length=64)
    public String getAliRefundNumber(){
        return this.aliRefundNumber;
    }
    @Column(name ="fk_manager_id",unique=false,nullable=true,insertable=true,updatable=true,length=32)
    public String getFkManagerId(){
        return this.fkManagerId;
    }
    @Column(name ="add_time",unique=false,nullable=true,insertable=true,updatable=true,length=0)
    public java.util.Date getAddTime(){
        return this.addTime;
    }
} 
